package com.example.jam.musicplayer.data;

/**Music类
 * 包含歌曲信息:歌曲名，艺术家，歌长，路径等
 * */
public class Music {
    private String musicName;
    private String musicArtist;
    private String musicPath;
    private String musicDuration;
    private String musicAlbum;

    public Music(String musicName, String musicArtist, String musicPath, String musicDuration,String musicAlbum)
    {
        this.musicName=musicName;
        this.musicArtist=musicArtist;
        this.musicPath=musicPath;
        this.musicDuration=musicDuration;
        this.musicAlbum=musicAlbum;
    }

    public String getMusicName(){
        return this.musicName;
    }

    public String getMusicArtist(){
        return this.musicArtist;
    }

    public String getMusicPath(){
        return this.musicPath;
    }

    public String getMusicDuration(){
        return this.musicDuration;
    }

    public String getMusicAlbum(){return this.musicAlbum;}

}
